package com.zhao.factoryMethod.pojo;

import lombok.extern.slf4j.Slf4j;

//动物抽象
@Slf4j
public abstract class Animal {

    public void sleep() {
        log.info("动物正在睡觉...");
    }

    public abstract void eat(String food);
}
